package cn.swpu.service;

import cn.swpu.bose.DaoSupport;
import cn.swpu.domin.Department;

import java.util.List;

/**
 * Created by 11616 on 2016/7/18.
 */
public interface DepartmentService extends DaoSupport<Department> {
//    List<Department> findAll();
//
//    void save(Department department);
//
//    Department findById(Long id);
//
//    void update(Department department);
//
//    void delete(Long id);

    List<Department> findTopAll();

    List<Department> findChildrenAll(Long parentId);
}
